package com.woniuxy.crm.Mapper;

import com.woniuxy.crm.entity.Customer;
import com.woniuxy.crm.entity.Manager;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CustomerMapper {
      void  add(Customer customer);
      void  deleteByid(int id);
     void    update(Customer customer);
     List<Customer> getAll ();
    List<Customer> getByNameAndMobile(@Param("name") String name, @Param("mobile") String mobile);
}
